<?php  

/*------------------------------------------------------------------------

# author    your name or company

# copyright Copyright © 2011 example.com. All rights reserved.

# @license  http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL

# Website   http://www.example.com

-------------------------------------------------------------------------*/
defined( '_JEXEC' ) or die; 
/* The following line loads the MooTools JavaScript Library */
JHtml::_('behavior.framework', true);
// variables
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$params = &$app->getParams();
$pageclass = $params->get('pageclass_sfx');
$tpath = $this->baseurl.'/templates/'.$this->template;
$isHome = $app->getMenu()->getActive()->home;
$lang = JFactory::getLanguage();
$langTag=$lang->getTag();
$pageclass .= $isHome ? ' home-page' : ' inner-page';
$pageclass .= ' '.$langTag;

$this->setGenerator(null);
// load sheets and scripts
$doc->addStyleSheet($tpath.'/css/template_css.css'); 
$doc->addScript($tpath.'/js/modernizr.js'); // <- this script must be in the head
$doc->addScript($tpath.'/js/startup.js');
?>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
<!--[if IE 7]><html class="no-js ie7 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
<!--[if IE 8]><html class="no-js ie8 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" lang="<?php echo $this->language; ?>"> <!--<![endif]-->

<head>
<jdoc:include type="head" />
<link type="text/css" href="templates/<?php echo $this->template ?>/css/print.css" rel="stylesheet" media="print" />
<!--[if IE 7]><link type="text/css" rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie7.css" media="screen" /><![endif]-->
<!--[if IE 8]><link type="text/css" rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie8.css" media="screen" /><![endif]-->
<!--[if IE 9]><link type="text/css" rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie9.css" media="screen" /><![endif]-->
</head>
<body  class="<?php echo $pageclass; ?>">
    <div class="wrapper">
      <div class="wrapper-container">
      	 <div class="header">
      	  
      	 </div>
         <div class="main-container">
           <div class="breadcrumb-bars"><jdoc:include type="modules" name="pos_breadcrumbs" style="xhtml"/></div>
           <div class="main-body">
             	<jdoc:include type="message" />
        		<jdoc:include type="component" />
           </div>
           <jdoc:include type="modules" name="debug" />
         </div>        
      </div>
    </div>
    <div class="footer">
      <div class="footer-container">
      	
      </div>
    </div>
</body>
</html>